home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0399 / 387 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.1 KB

  1. Date: Mon, 19 Jul 93 20:00:08 MDT
  2. From: shenson@nyx.cs.du.edu (Stephen Henson)
  3. Message-Id: <9307200200.AA26866@nyx.cs.du.edu>
  4. X-Disclaimer: Nyx is a public access Unix system run by the University
  5.     of Denver.  The University has neither control over nor
  6.     responsibility for the opinions or correct identity of users.
  7. To: mint@terminator.rs.itd.umich.edu
  8. Subject: FUTIME/FTRUNCATE ...
  9.  
  10. Few quick points ...
  11.  
  12. Are FUTIME/FTRUNCATE 'official'? If so my filesys.h and docs are out of date.
  13.  
  14. Is the value of 'arg' for FTRUNCATE a pointer to the new filesize or the size
  15. itself?
  16.  
  17. If the new size in FTRUNCATE is bigger than the current size should the file
  18. be lengthened (and thus sparse)?
  19.  
  20. The Unix manual pages I've read suggest two different sets of privs needed for
  21. futime() (which is essentially Fcntl+FUTIME). If utimbuf is NULL then only write
  22. access (or file open for writing) is needed. If it is non-NULL then you must be
  23. the file owner. This makes the mntlib handling of this function erroneous; 
  24. I would recommend that the NULL is passed unchanged to the filesystem and
  25. let it handle things.
  26.  
  27. Steve.
  28.  
  29.